package org.budo.wxpay.api;

import java.util.Map;

/**
 * @author limingwei
 */
public interface WxPayApi {
    UnifiedOrderResponse unifiedOrder(UnifiedOrderRequest request);

    OrderQueryResponse orderQuery(OrderQueryRequest request);

    CloseOrderResponse closeOrder(CloseOrderRequest request);

    UnifiedOrderResponse unifiedOrder_JSAPI(UnifiedOrderRequest request);

    UnifiedOrderResponse unifiedOrder_NATIVE(UnifiedOrderRequest request);

    Map<String, String> jsapi_getBrandWCPayRequest(String prepayId);

    Map<String, Object> wxa_requestPayment(String prepayId);

    UnifiedOrderResponse unifiedOrder_MWEB(UnifiedOrderRequest setSceneInfo);

    Map<String, String> refund(Map<String, String> map); 
}